{include file="pageheader"}
<div class="container-fluid" style="padding:0">
	<div class="row" style="margin:0">

            <div class="container-fluid" style="padding:0">
                <form class="navbar-form " role="search" action="{url('index')}" method="post">
				<input type="text" class="form-control" placeholder="商品名称" name="goods_name"/>	
			        <input name="Submit" class="btn btn-primary" type="submit" value="搜索">
    	 	        </form>
	<div class="row" style="margin:0">
	  <div class="col-md-12 col-sm-12 col-lg-12" style="padding:0;">
		<div class="panel panel-default">
			<div class="panel-heading">拼团列表</div>
			<table class="table table-hover table-striped table-bordered">
                <tr>
                    <th class="text-center">团号</th>
                    <th class="text-center">商品名称</th>
                    <th class="text-center">开团时间</th>
                    <th class="text-center">剩余时间</th>
                    <th class="text-center">差几人成团</th>
                     <th class="text-center">团状态</th>
                      <th class="text-center">操作</th>
                </tr>
  
    {loop $log_list $list}
  <tr align="center">
    <td width="10%" align="center" class="first-cell" >
      <span>{$list[team_id]}</span>
    </td>
     <td align="30%" align="left"><span>{$list[goods_name]}</span></td>
     <td width="10%" align="center"><span >{$list[start_time]}</span></td>
             <td width="10%" align="center"><span >
                {if $list[cle]<0}
                已结束
                {else}
                {$list[time]}
                {/if}
         </span></td>
     <td width="10%" align="center"><span >
             {if $list[surplus_num]<=0 }
             已成团
             {else}
             {$list[surplus_num]}
             {/if}
         
         </span></td>
    <td width="10%"><img src="__ASSETS__/images/{if $list[status] ==1}yes{else}no{/if}.gif" /></td>
    <td width="24%" align="center">
        <a href="{url('detile', array('team_id'=>$list['team_id']))}">查看订单</a> |
     <a href="javascript:if(confirm('{$lang['confirm_delete']}')){window.location.href='{url('del', array('team_id'=>$list[team_id]))}'};">删除</a>
    </td>
  </tr>
   {/loop}
		</table>
		</div>
	  </div>
	</div>
</div>
	</div>
    {include file="pageview"}
 </div>
</div>
{include file="pagefooter"}







